#include <stdio.h>

int f(char *string) {
	int soma=0;
	int i=0;

	while(string[i] != '\0') {
		soma += string[i++];
	}
	return 1+soma%828293839292848193;
}

int main(void) {
	int i=0;
	char *c[] = {"clear","help","exit"};
	int N = 3;	

	while(i<N) {
		printf("f(%s) = %d\n",c[i],f(c[i]));
		i++;
	}
	return 0;
}
